#define _CRT_SECURE_NO_WARNINGS
#include "SList.h"
void Test1()
{
	SLTNode* plist = NULL;
	SListPushBack(&plist,1);
	SListPushBack(&plist, 2);
	SListPushBack(&plist, 3);
	SListPushBack(&plist, 4);
	SListPrint(plist);
	SListPushFront(&plist,5);
	SListPrint(plist);
	SListPopBack(&plist);
	SListPrint(plist);
	SListPopFront(&plist);
	SListPrint(plist);
	SLTNode*pos=SListFind(plist, 3);
	SListInsert(&plist, pos, 7);
	SListPrint(plist);
	SListErase(&plist, pos);
	SListPrint(plist);
}
int main()
{
	Test1();
	return 0;
}